Ext.define('App.datasource.model.SourceTableViewModel', {
    extend: 'Ext.app.ViewModel',
    alias: 'viewmodel.SourceTableViewModel',
    requires: ['App.datasource.model.SourceTableModel'],
    data: {},
    stores: {
        Query: {
            autoLoad: false,
            model: 'App.datasource.model.SourceTableModel',
            pageSize: 25,
            remoteSort: true,
            proxy: {
                type: 'majax',
                url: 'source_table/query_datas',
                reader: {
                    type: 'json',
                    rootProperty: 'data',
                    totalProperty: 'total'
                }
            }
        }
    }
});